jQuery(document).ready(function($) {
	$('#journal_edit').validate({
	  rules: {
	    metadata_longitude: {
	      required: ".trip:enabled"
	    },
		metadata_latitude: {
	      required: ".trip:enabled"
		}
	  }
	});

});
